package com.xiaoyu.lanling.base.push.vivo;

import android.content.Context;
import android.util.Log;

import com.vivo.push.model.UPSNotificationMessage;
import com.vivo.push.sdk.OpenClientPushMessageReceiver;

public class VIVOPushReceiver extends OpenClientPushMessageReceiver {

    @Override
    public void onNotificationMessageClicked(Context context, UPSNotificationMessage upsNotificationMessage) {
        Log.d("lib-push", upsNotificationMessage.toString());
    }

    @Override
    public void onReceiveRegId(Context context, String s) {
        Log.d("lib-push", s);
        VIVOPushAgent.getInstance().onReceiveRegisterResult(0, s);
    }
}
